import * as Router from "koa-router";

export const users = new Router()
  .prefix('/users')
  .get('/', async (ctx, next) => {
    ctx.body = 'this is a users response!!'
  })
  .get('/bar', async (ctx, next) => {
    ctx.body = 'this. is a users/bar response!!'
  })
  .get('/:id', async (ctx, next) => {
    ctx.body = ctx.params
  })